package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * @ClassName: GWCMT
 * @Author: caijy
 * @Date: 2019-7-2 0002 18:10
 * @Description:TODO
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCM_T")
public class GwcmT extends PO<GwcmT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWCMENT", type = IdType.INPUT)
    private String GWCMENT;
    private String GWCMDOCNO;
    private String GWCMID;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCMDOCDATE;
    private BigDecimal GWCMSEQ;
    private String GWCM001;
    private String GWCM002;
    private BigDecimal GWCM003;
    private BigDecimal GWCM004;
    private BigDecimal GWCM005;
    private String GWCM006;
    private String GWCM007;
    private String GWCM008;
    private String GWCM009;
    private String GWCM010;
    private String GWCM011;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCM012;
    private String GWCM020;
    private String GWCM021;
    private String GWCM022;
    private String GWCM023;
    private String GWCM024;
    private String GWCM025;
    private String GWCM026;
    private String GWCM027;
    private String GWCM028;
    private String GWCM050;
    private String GWCM101;
    private String GWCM102;
    private String GWCM103;
    private String GWCM104;
    private String GWCM105;
    private String GWCM106;
    private String GWCM107;
    private String GWCM108;

    private String GWCMPLANT;

    private String GWCMLEGAL;

    private String GWCMACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWCMUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWCMGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWCMMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWCMTIME;
    @TableField(fill = FieldFill.UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCMDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWCMORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWCMORIU;
    
    @Override
    protected Serializable pkVal() {
        return this.GWCMENT;
    }
    
    
}
